package d0427.wordgame;

public class Player {

	// 玩家当前级别号
	private int levelNo;
	// 玩家当前级别积分
	private int currScore;
	// 当前级别开始时间
	private long startTime; 		// 时点  时间戳  毫秒值   
	// 当前级别已用时间
	private int elapsedTime; 	// 时间  秒
	
	public Player (int levelNo) {
		this.levelNo = levelNo;
		startTime = System.currentTimeMillis(); // 获取当前时间戳 1970.0.0
	}
	
	public void setlLevelNo(int levelNo) {
		this.levelNo = levelNo;
	}
	
	public int getLevelNo() {
		return levelNo;
	}

	public int getCurrScore() {
		return currScore;
	}

	public void setCurrScore(int currScore) {
		this.currScore = currScore;
	}

	public long getStartTime() {
		return startTime;
	}

	public void setStartTime(long startTime) {
		this.startTime = startTime;
	}

	public int getElapsedTime() {
		return elapsedTime;
	}

	public void setElapsedTime(int elapsedTime) {
		this.elapsedTime = elapsedTime;
	}

	public void setLevelNo(int levelNo) {
		this.levelNo = levelNo;
	}
	
}
